/**
 * 版权所有(C)，中国银联股份有限公司，2002-2013，所有权利保留。
 * 
 * 项目名：	simple-core
 * 文件名：	FunctionInfoDaoImpl.java
 * 模块说明：	
 * 修改历史：
 * 2013-10-29 - Administrator - 创建。
 */
package com.aeky.simple.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.aeky.simple.dao.FunctionInfoDao;
import com.aeky.simple.dao.GenericIbatisDao;
import com.aeky.simple.entity.FunctionInfo;
import com.aeky.simple.vo.page.Pager;

/**
 * @author wanghui
 * 
 */
@Repository("functionInfoDao")
public class FunctionInfoDaoImpl extends GenericIbatisDao<FunctionInfo, String> implements
                FunctionInfoDao {

    public List<FunctionInfo> queryAll() {
        return super.queryAll();
    }

    public Pager<FunctionInfo> queryFunctionInfoList(Pager<FunctionInfo> pager,
                    Map<String, Object> paramMap) {
        return super.queryByPage(pager, paramMap);
    }

    @SuppressWarnings("unchecked")
    public List<FunctionInfo> queryFuncInfoComboxValue(Map<String, Object> paramMap) {
        return this.getSqlMapClientTemplate().queryForList("FunctionInfo.queryFuncInfoComboxValue",
                        paramMap);
    }

    public void addFunctionInfo(FunctionInfo funcInfo) {
        super.add(funcInfo);
    }

    public FunctionInfo queryFunctionInfoByPKAndVersion(Map<String, Object> paramMap) {
        return super.queryByPKAndVersion(paramMap);
    }

    public void updateFunctionInfo(FunctionInfo functionInfo) {
        super.updateByPKAndVersion(functionInfo);
    }

    public void deleteFunctionInfo(Map<String, Object> paramMap) {
        super.delete(paramMap);
    }

}
